package com.javasm.entity.MisMannageEntity;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author:JAVASM
 * @description:
 * @date:2022/5/21 22:33
 * @version:0.1
 * @since:jdk11
 */
@AllArgsConstructor
@Getter
public enum ReturnCode {
    LOGIN_OK(10000,"登录成功"),
    NO_LOGIN(10003,"没有登录"),
    LOGIN_FAILED(10005,"用户名或密码错误"),
    QUERY_OK(20000,"查询成功"),
    QUERY_FAILED(20005,"查询失败"),
    ADD_OK(30000,"新增成功"),
    ADD_FAILED(30005,"新增失败"),
    EDIT_OK(40000,"修改成功"),
    EDIT_FAILED(40005,"修改失败"),
    DEL_OK(50000,"删除成功"),
    DEL_FAILED(50005,"删除失败"),
    ADD_REMIT_MSG_OK(60000,"添加汇款消息成功"),
    ADD_REMIT_MSG_FAILED(60005,"添加汇款消息成功"),
    NO_REVIEWER(70000,"请填入审核人"),
    LOGOUT_OK(10004,"退出成功");
    private Integer code;
    private String msg;

}
